package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-wowudi-entity-Hospitalization")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "hospitalization")
public class Hospitalization implements Serializable {
    /**
     * id
     */
    @TableId(value = "hh_id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer hhId;

    /**
     * 患者编号
     */
    @TableField(value = "pt_card")
    @ApiModelProperty(value="患者编号")
    private String ptCard;

    /**
     * 对应医生id
     */
    @TableField(value = "w_id")
    @ApiModelProperty(value="对应医生id")
    private Integer wId;

    /**
     * 对应科室id
     */
    @TableField(value = "dpc_id")
    @ApiModelProperty(value="对应科室id")
    private Integer dpcId;

    /**
     * 对应病房编号
     */
    @TableField(value = "hih_card")
    @ApiModelProperty(value="对应病房编号")
    private String hihCard;

    /**
     * 对应病床编号
     */
    @TableField(value = "hib_card")
    @ApiModelProperty(value="对应病床编号")
    private String hibCard;

    /**
     * 开始时间
     */
    @TableField(value = "hh_create_time")
    @ApiModelProperty(value="开始时间")
    private Date hhCreateTime;

    /**
     * 结束时间
     */
    @TableField(value = "hh_over_time")
    @ApiModelProperty(value="结束时间")
    private Date hhOverTime;

    /**
     * 状态
     */
    @TableField(value = "hh_status")
    @ApiModelProperty(value="状态")
    private String hhStatus;

    private static final long serialVersionUID = 1L;
}